<form class="layui-form layui-form-pane" lay-filter="FormSysGroupEdit" action="/sys/group/edit">
    <input type="hidden" id="id" name="id" th:value="${entity.id}">
    <div class="layui-row p-l-sm m-b-xl">
        <div class="layui-row">
            <div th:replace="common/plugin :: pa-form-input-detail('text','所属系统','layui-col-md12',${sysSystem.systemName})"></div>
            <div th:replace="common/plugin :: pa-form-input-detail('text','所属用户','layui-col-md12',${sysUser==null?'超级用户':sysUser.userNick})"></div>
            <div th:replace="common/plugin :: pa-form-input-detail('text','父角色信息','layui-col-md12',${pname})"></div>
            <div th:replace="common/plugin :: pa-form-input('text','角色名称(*)','groupName','layui-col-md6',32,'required',${entity.groupName})"></div>
            <div th:replace="common/plugin :: pa-form-input('text','模块排序(*)','groupSort','layui-col-md6',3,'required|number',${entity.groupSort})"></div>
        </div>
    </div>
</form>
<script>
    layui.use('form', function () {
        let form = layui.form;
        form.render();
    });
</script>
